package gstudio.ui;

import org.eclipse.jface.viewers.ListViewer;
import org.eclipse.swt.widgets.Composite;

public class ListViewerFabrik {
	private ListViewer listViewer;

	public ListViewerFabrik(Composite parent, int i) {
		listViewer = new ListViewer(parent, i);
		listViewer.setContentProvider(new MyViewerContentProvider());
		listViewer.setLabelProvider(new MyViewerLabelProvider());
	}

	public ListViewer getListViewer() {
		return listViewer;
	}
}
